package org.ourgrid.acceptance.util.discoveryservice;

import org.ourgrid.acceptance.util.DiscoveryServiceAcceptanceUtil;
import org.ourgrid.discoveryservice.DiscoveryServiceComponent;

import br.edu.ufcg.lsd.commune.context.ModuleContext;
import br.edu.ufcg.lsd.commune.network.xmpp.CommuneNetworkException;
import br.edu.ufcg.lsd.commune.processor.ProcessorStartException;

public class Req_501_Util extends DiscoveryServiceAcceptanceUtil {
	
	public Req_501_Util(ModuleContext context) {
		super(context);
	}

	public DiscoveryServiceComponent createDiscoveryServiceComponent() throws CommuneNetworkException, ProcessorStartException {
		DiscoveryServiceComponent component = new DiscoveryServiceComponent(context);
	    application = component;
	    return component;
	}
}
